package com.kye.express.business.waybill.waybill_detail;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * @author : Joe
 * @version : 1.0
 * @editor : Joe
 * @created : 26/01/2018
 * @updated : 26/01/2018
 * @description : <Description>
 * @update_reason : <UpdateReason>
 */

public class SendArrivedDateModel implements Parcelable {

    private String messageShow; // 11月22日 (周三)
    private String date; // 2017-12-1

    public String getMessageShow() {
        return messageShow;
    }

    public void setMessageShow(String messageShow) {
        this.messageShow = messageShow;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.messageShow);
        dest.writeString(this.date);
    }

    public SendArrivedDateModel() {
    }

    protected SendArrivedDateModel(Parcel in) {
        this.messageShow = in.readString();
        this.date = in.readString();
    }

    public static final Parcelable.Creator<SendArrivedDateModel> CREATOR = new Parcelable.Creator<SendArrivedDateModel>() {
        @Override
        public SendArrivedDateModel createFromParcel(Parcel source) {
            return new SendArrivedDateModel(source);
        }

        @Override
        public SendArrivedDateModel[] newArray(int size) {
            return new SendArrivedDateModel[size];
        }
    };
}
